package com.meiwenhui.sishuwujing.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.meiwenhui.sishuwujing.entities.Book;
import com.meiwenhui.sishuwujing.entities.BookExample;
import com.meiwenhui.sishuwujing.mapper.BookMapper;
import com.meiwenhui.sishuwujing.service.BookService;

@Service("bookServiceImpl")
public class BookServiceImpl implements BookService{

	@Autowired
	private BookMapper bookMapper;
	
	public List<Book> selectByExample(BookExample example) {
		return bookMapper.selectByExample(example);
	}

}
